[Contents] [Index] [Help] [Browse <] [Browse >]
LoadButtons           NAME, START/S, LABEL/K, IMAGE/K, UNDERMOUSE/S, TOGGLE/S

This command takes a filename as an argument and loads the button's
component files as named.  If only a simple filename is given the function
searches in the appropriate Opus 5 path of DOpus5:Buttons/ for the specified
file.  If a full pathname is given, the command will use that pathname
instead.

The "TOGGLE' switch causes the state of the button bank to toggle, if it is
open it will be closed and vice versa.

The "UNDERMOUSE" switch will cause the button bank to appear under the mouse
pointer when opened.

The START switch loads anything as a StartMenu instead of a button bank.
The LABEL keyword lets you set the label of the StartMenu but is basically
redundant now, as is the IMAGE keyword, which specifies the image for the
StartMenu.

NOTE: The last two options, LABEL and IMAGE, should not be used.  Instead use
      the StartMenu's popup menu to select Appearance.